﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace OnlineMealOrdering.Domain.Base
{
    public class AuditableEntity:EntityBase,IAuditable
    {
        /// <summary>
        /// User who create the entity
        /// </summary>
        public virtual UserEntity CreatedBy { get; set; }

        /// <summary>
        /// Date when create the entity
        /// </summary>
        public DateTime CreatedDate { get; set; }

        /// <summary>
        /// User who update the entity
        /// </summary>
        public virtual UserEntity UpdatedBy { get; set; }

        /// <summary>
        /// Date when update the entity
        /// </summary>
        public DateTime UpdatedDate { get; set; }
    }
}
